package neuron.library.ga.observer;

import neuron.library.ga.AbstractGeneticMachine;

public class ConsoleFitnessMonitor extends AbstractObserver {

	@Override
	public void notification(AbstractGeneticMachine gm) {
		System.out.println("Gen: " + gm.getCurrentGeneration() +
				"; Best fitness: " + gm.getBestChromosome().getScore() + 
				"; Average fitness function: " + gm.getPupulationFitness() + ".");
	}
	
}
